import request from '@/utils/request'

const prefix = 'api/ai'

export function aiRecordChat(data) {
    return request({
      url: prefix + '/record/chat',
      method: 'post',
      data
    })
}
export function aiRecordChatByRag(data) {
    return request({
      url: prefix + '/record/chat/by/rag',
      method: 'post',
      data
    })
}

export default { aiRecordChat, aiRecordChatByRag }